import { FC } from 'react';
import styles from './nav.less';

import { useWt } from '../utils/useWt';

const Nav: FC = () => {
  const [wtTemp, wtNm] = useWt();

  return (
    <nav className={styles.nav}>
      <div className={styles.left}>按钮</div>
      <div className={styles.right}>
        {wtTemp}℃ - {wtNm}
      </div>
    </nav>
  );
};

export default Nav;
